package com.example.demo01.controllter.test;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author admin
 * @Description 父亲类
 * @date 2020-07-28 09:28:00
 */
@Data
@AllArgsConstructor
public class Father {

    private String name;

    private Integer age;

    private Integer height;

    public Father() {
        System.out.println("父类构造方法执行");
    }

    public void work() {
        System.out.println("父类的工作是学习");
    }

}
